home *** CD-ROM | disk | FTP | other *** search
- Path: nntp0.brunel.ac.uk!usenet
- From: Francesco Fantauzzi <mapgfgf@brunel.ac.uk>
- Newsgroups: comp.lang.c++,comp.lang.c
- Subject: Increasing stack size - HELP!
- Date: 20 Feb 1996 11:58:09 GMT
- Organization: Brunel University
- Message-ID: <4gcd0h$8rf@izar.brunel.ac.uk>
- NNTP-Posting-Host: maths-pc-125.brunel.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- Hi All!
-
- I'm using Borland C++ 4.0. I'm stuck 'cause, when I run my program, it
- stops with a run-time error: "STACK OVERFLOW!".
-
- I checked the stack size (with stackavail()) and it's actually too small.
- How can I tell the compiler that I would like a larger stack, overriding
- the default size? I'm sure there's a way: I did it years ago, but have
- forgotten it.
-
- BTW, I'm writing a plain MS-DOS application with the compact memory
- model.
-
- Thanks for any help.
-
- Francesco G. Fantauzzi
-
-
-